<div data-role="page">
    <div data-role="header">
        <a href="#" data-rel="back" class="ui-btn ui-icon-arrow-l ui-btn-icon-left ui-shadow">返回</a>
        <h1>app版本信息</h1>
    </div>
    <div role="main" class="ui-content">
        <p>请查看一下调用示例</p>
        <div data-role="collapsible">
            <h1>获取app名称</h1>
            <button  onclick="getAppName()" class="ui-btn ui-btn-a">点击获取app名称</button>
            <div id="appName" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>查看app包名</h1>
            <button  onclick="getPackageId()" class="ui-btn ui-btn-a">点击获取app包名</button>
            <div id="appPackageId" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>查看app版本号</h1>
            <button  onclick="getAppVersionNumber()" class="ui-btn ui-btn-a">点击获取app版本号</button>
            <div id="appVersion" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>查看app版本code</h1>
            <button  onclick="getAppVersionCode()" class="ui-btn ui-btn-a">点击获取app版本code</button>
            <div id="versionCode" width="100%"></div>
        </div>
    </div>
</div>
